<?php
	require_once('checklogin.php');
	ob_start();
	$p=$_GET['p'];
	require_once('classQuanTriTin.php');
	$qt = new quantritin;
	$qt2 = new quantritin;
	$qt3 = new quantritin;
	
	$menu = $qt->MenuNgang();
	$menu2 = $qt2->MenuDoc();
	$idCustomer=-1; if (isset($_GET['idCustomer'])==true) $idCustomer = $_GET['idCustomer']; settype($idCustomer,"int");
	$customer = $qt->DetailCustomer($idCustomer);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CareWithLove Administrator</title>
<link href="../css/oh_admin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/ddsmoothmenu_ngang.css" />

<script type="text/javascript" src="../script/jquery.min.js"></script>
<script type="text/javascript" src="../script/ddsmoothmenu.js"></script>



<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>
</head>

<body>
<div align="center">
  <div id="admin">

    <div id="header">
      <div id="header_left"></div>
      <div id="header_right"></div>
      <div id="header_center"></div>
    </div>

    <!---------------------------------MENU NGANG--------------------------------->
        <div id="menu_ngang">
            <div id="smoothmenu1" class="ddsmoothmenu">
                <ul>
                <?php while($menu_ngang=mysql_fetch_assoc($menu)) {?>
                <li><a href="<?=$menu_ngang[urlLink]?>"><?=$menu_ngang[Ten]?></a></li>
               	<?php } ?>
                </ul>
            </div>
    	</div>
    <!---------------------------------MENU NGANG--------------------------------->
    

    
    <div id="content">
    <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="8%" align="left" valign="top">
            <!---------------------------------MENU DỌC--------------------------------->
			<div id="content_left">            
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <?php while($menu_doc=mysql_fetch_assoc($menu2)) { ?>
                      <tr align="center" valign="top">
                        <td width="84" align="center"><a data-tooltip="sticky1" href="<?=$menu_doc['urlLink']?>"><img height="59" width="59" src="../<?=$menu_doc['urlHinh']?>" alt="<?=$menu_doc['Ten']?>" title="<?=$menu_doc['Title']?>"/></a>                        </td>
                      </tr>
                     <?php  } ?>
                </table>
            </div>
            <!---------------------------------MENU DỌC--------------------------------->
        </td>
        <td width="100%" align="left" valign="top">
        	<div id="search"></div>
			<div id="content_right_content">
              <div id="detail_customer">
              
              
        	<?php $row_customer=mysql_fetch_assoc($customer); ?>
			<p><?=$row_customer['idCustomer']?></p>
			<p><?=$row_customer['phone']?></p>
        	  </div>
            </div>      
       </td>
      </tr>
    </table>


      
    </div>
    <div id="footer">Copyright &copy; 2011 by <span class="bkvtin"><a href="ymsgr:sendim?bkvtin&amp;m=Hello BKVTIN">Trần Hữu Trung Tín</a></span></div>
  </div>
</div>
</body>
</html>
